package lab02.test11;

public class Test11 {
    public static void main(String[] args) {
        System.out.println("测试Rectangle类.");
        Rectangle rectangle = new Rectangle();
        rectangle.length = 20;
        rectangle.wide = 10;
        rectangle.printMyMay();

        System.out.println("测试正方形类:");
        Square square = new Square();
        square.side = 4;
        square.printMyMay();
    }
}
